package com.darwin.darwinIsometric.pathfinding.expand
{
	import flash.events.Event;
	
	/**
	 *	行走管理器事件 
	 * @author Roland
	 * 
	 */
	public class WalkManagerEvent extends Event
	{
		/**
		 *	行走者路径改变 
		 */
		public static const WALKER_PATH_CHANGE:String = "walkerPathChange";
		
		public var walkerId:String;
		public var path:Array;
		/**
		 *	实例化一个行走管理器事件 
		 * @param type
		 * @param bubbles
		 * @param cancelable
		 * 
		 */
		public function WalkManagerEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			var $e:WalkManagerEvent = new WalkManagerEvent(type,bubbles,cancelable);
			$e.walkerId = walkerId;
			$e.path = path;
			return $e;
		}
	}
}